{% extends 'base.html' %}
{% block title %}注册{% endblock %}
{% block content %}
        <h3>注册</h3>
        <form method="post" enctype="multipart/form-data">
        {% csrf_token %}
            {{ form.as_p }}
        <input type="submit" value="注册" />
{#            <input type="hidden" value="{{ next }}" />#}
        <span style="color:#ff0000;font-size:12px;">{{form.non_field_errors}}</span>

        </form>
{% endblock %}